package com.shuyuntu.proposal.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 用来测试Spring MVC是否部署成功的控制器
 * Created by syt005 on 2016/4/13.
 */
@Controller
public class BasePageJumpController {
    @RequestMapping("/")
    public String index() {
        return "index";
    }
    @RequestMapping("/login")
    public String loginPage() {
        return "login";
    }

    @RequestMapping("/404")
    public String handle404() {
        return "404";
    }

}
